package com.azkj.album.dto;

import java.io.Serializable;

import lombok.Data;


public class LoginBean implements Serializable {


    /**
     * token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjY5NiwiaXNzIjoiaHR0cDovL2Rldi5jZHNhb3NodS5jb20vYXBpL3YyL3Rva2VucyIsImlhdCI6MTYzNzMwODc5MCwiZXhwIjoxNjk3MzA4NzMwLCJuYmYiOjE2MzczMDg3OTAsImp0aSI6IlFyTkhzZ1M4dzRoRklQWm4ifQ.3usEwd9vUIY7CFfxZsJ9Y4NGzCaGg0_J2LY6YWSuGU4
     * user : {"id":696,"user_name":"Jul","user_mobile":"18515617398","user_avatar":"","wx_name":"","wx_unionid":"","user_level":1,"user_age":0,"user_sex":0,"is_lock":1,"ios_user_id":null,"login_time":"2021-11-19 15:59:50","wx_openid":""}
     * ttl : 999999
     * refresh_ttl : 40320
     * vip_time : null
     * is_vip : 0
     */


    private UserBean userinfo;

    public UserBean getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(UserBean userinfo) {
        this.userinfo = userinfo;
    }

    public static class UserBean implements Serializable {

        private int id;
        private String username;
        private String nickname;
        private String mobile;
        private String avatar;
        private String token;
        private int user_id;

        private String createtime;
        private String expiretime;
        private String expires_in;
        private String wx_unionid;
        private String vip_time;
        private int has_order;
        private int album_count;
        private int is_vip;

        public String getVip_time() {
            return vip_time;
        }

        public void setVip_time(String vip_time) {
            this.vip_time = vip_time;
        }

        public int getAlbum_count() {
            return album_count;
        }

        public void setAlbum_count(int album_count) {
            this.album_count = album_count;
        }

        public int getIs_vip() {
            return is_vip;
        }

        public void setIs_vip(int is_vip) {
            this.is_vip = is_vip;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public String getExpiretime() {
            return expiretime;
        }

        public void setExpiretime(String expiretime) {
            this.expiretime = expiretime;
        }

        public String getExpires_in() {
            return expires_in;
        }

        public void setExpires_in(String expires_in) {
            this.expires_in = expires_in;
        }

        public String getWx_unionid() {
            return wx_unionid;
        }

        public void setWx_unionid(String wx_unionid) {
            this.wx_unionid = wx_unionid;
        }

        public int getHas_order() {
            return has_order;
        }

        public void setHas_order(int has_order) {
            this.has_order = has_order;
        }
    }
}
